package com.traffic.mapper;

import java.util.List;
import com.traffic.domain.PerOverseasApplication;
import org.apache.ibatis.annotations.Mapper;

/**
 * 出境申请Mapper接口
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
@Mapper
public interface PerOverseasApplicationMapper 
{
    /**
     * 查询出境申请
     * 
     * @param id 出境申请主键
     * @return 出境申请
     */
    public PerOverseasApplication selectPerOverseasApplicationById(Long id);

    /**
     * 查询出境申请列表
     * 
     * @param perOverseasApplication 出境申请
     * @return 出境申请集合
     */
    public List<PerOverseasApplication> selectPerOverseasApplicationList(PerOverseasApplication perOverseasApplication);

    /**
     * 新增出境申请
     * 
     * @param perOverseasApplication 出境申请
     * @return 结果
     */
    public int insertPerOverseasApplication(PerOverseasApplication perOverseasApplication);

    /**
     * 修改出境申请
     * 
     * @param perOverseasApplication 出境申请
     * @return 结果
     */
    public int updatePerOverseasApplication(PerOverseasApplication perOverseasApplication);

    /**
     * 删除出境申请
     * 
     * @param id 出境申请主键
     * @return 结果
     */
    public int deletePerOverseasApplicationById(Long id);

    /**
     * 批量删除出境申请
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePerOverseasApplicationByIds(Long[] ids);
}
